//
//  OnStageBlockManager.h
//  AvoidTheBlocks
//
//  Created by hoangtx on 6/19/13.
//
//

#ifndef AvoidTheBlocks_OnStageBlockManager_h
#define AvoidTheBlocks_OnStageBlockManager_h

#include "cocos2d.h"
#include "Block.h"
using namespace cocos2d;

class OnStageBlockManager : public CCObject{
private:
    int getCountFromColumnThatHasTheLeastBlock();
public:
    CCArray* blockArray;

    
    void addTo(CCArray* arrayToAdd, Block* blockToAdd);
    void checkForScoreARow(CCObject* sender);
    CCArray* getColumnArrayThatAreFull();

    
    virtual bool init();
    CREATE_FUNC(OnStageBlockManager);
};

#endif
